import 'package:flutter_ncsjqz_getx/generated/json/base/json_field.dart';
import 'package:flutter_ncsjqz_getx/generated/json/post_detail_entity.g.dart';


@JsonSerializable()
class PostDetailEntity {

	PostDetailEntity();

	factory PostDetailEntity.fromJson(Map<String, dynamic> json) => $PostDetailEntityFromJson(json);

	Map<String, dynamic> toJson() => $PostDetailEntityToJson(this);

  String? msg;
  int? code;
  PostDetailData? data;
}

@JsonSerializable()
class PostDetailData {

	PostDetailData();

	factory PostDetailData.fromJson(Map<String, dynamic> json) => $PostDetailDataFromJson(json);

	Map<String, dynamic> toJson() => $PostDetailDataToJson(this);

  String? userPic;
  int? postId;
  String? postTitle;
  String? postContent;
  dynamic? postVideos;
  int? seeType;
  String? postTypeName;
  dynamic? postType;
  String? releaseTime;
  int? userId;
  String? nikeName;
  List<String>? postUrls;
  List<PostDetailDataComments>? comments;
  int? praiseCount;
  bool? isAttention;
  bool? isPraise;
  dynamic? shopStatus;
  int? postStatus;
}

@JsonSerializable()
class PostDetailDataComments {

	PostDetailDataComments();

	factory PostDetailDataComments.fromJson(Map<String, dynamic> json) => $PostDetailDataCommentsFromJson(json);

	Map<String, dynamic> toJson() => $PostDetailDataCommentsToJson(this);

  int? commentId;
  String? commentContent;
  int? commentType;
  int? commentUserId;
  String? commentUserName;
  String? commentUserPic;
  int? replyUserId;
  String? replyUserName;
  String? replyUserPic;
  int? postId;
  String? commentTime;
  List<ReplysComments>? replys;
}

@JsonSerializable()
class ReplysComments {

	ReplysComments();

	factory ReplysComments.fromJson(Map<String, dynamic> json) => $ReplysCommentsFromJson(json);

	Map<String, dynamic> toJson() => $ReplysCommentsToJson(this);

  int? commentId;
  String? replyContent;
  int?  replyType;
  int? beReplyUserId;
  String? beReplyUserName;
  String? beReplyUserPic;
  int? replyUserId;
  String? replyUserName;
  String? replyUserPic;
  String? replyTime;
}
